home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / earcd / biz / dbase / msql_2_b.lha / Hughes / include / regexp.h < prev   
C/C++ Source or Header  |  1997-04-08  |  574b  |  22 lines

  1. /*
  2.  * Definitions etc. for regexp(3) routines.
  3.  *
  4.  * Caveat:  this is V8 regexp(3) [actually, a reimplementation thereof],
  5.  * not the System V one.
  6.  */
  7. #define NSUBEXP  25
  8. typedef struct regexp {
  9.     char *startp[NSUBEXP];
  10.     char *endp[NSUBEXP];
  11.     char regstart;        /* Internal use only. */
  12.     char reganch;        /* Internal use only. */
  13.     char *regmust;        /* Internal use only. */
  14.     int regmlen;        /* Internal use only. */
  15.     char program[1];    /* Unwarranted chumminess with compiler. */
  16. } regexp;
  17.  
  18. extern regexp *regcomp();
  19. extern int regexec();
  20. extern void regsub();
  21. extern void regerror();
  22.